package com.jyxd.web.data.basic;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "table_nurse_record_form_out_put")
@Data
@ApiModel("三合一护理单出量实体")
@TableName("table_nurse_record_form_out_put")
public class NurseRecordFormOutPut extends Model implements Serializable, Cloneable {

    /**
     * 序列
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    @Column(name = "id", length = 32, nullable = false)
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
    @ApiModelProperty("Id")
    private String id;

    @ApiModelProperty("关联护理单行id")
    @Column(name = "row_id")
    private String rowId;

    @ApiModelProperty("患者id")
    @Column(name = "patient_id")
    private String patientId;

    @ApiModelProperty("出量名称")
    @Column(name = "out_put_name")
    private String outPutName;

    @ApiModelProperty("出量值")
    @Column(name = "out_put_value")
    private String outPutValue;

    @ApiModelProperty("出量字典id")
    @Column(name = "out_put_dictionary_id")
    private String outPutDictionaryId;

    @ApiModelProperty("状态")
    @Column(name = "status")
    private String status;

    @ApiModelProperty("数据创建时间")
    @Column(name = "create_time")
    private Date createTime;
}
